package com.atguigu.eduservice.mapper;

import com.atguigu.eduservice.entity.EduCourse;
import com.atguigu.eduservice.entity.vo.CourseWebVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author test.java
 * @since 2023-03-16
 */
public interface EduCourseMapper extends BaseMapper<EduCourse>{

	@Transactional //->这个查询涉及多表查询
	List<CourseWebVo> getBaseCourseInfo(String courseId);


}
